/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const billsRouter = {
  path: '/bills',
  component: Layout,
  redirect: '/bills/index',
  name: 'Bills',
  meta: {
    title: '物业费管理',
    icon: 'table'
  },
  children: [
    {
      path: '/bills/index',
      component: () => import('@/pages/bills/index'),
      name: 'BillsTable',
      meta: { title: '物业缴费记录', icon: 'table' }
    },
    {
      path: '/bills/addBills',
      component: () => import('@/pages/editBills'),
      name: 'InlineEditTable',
      meta: { title: '开通缴费', icon: 'edit' }
    }
  ]
}
export default billsRouter
